<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/designM/eventDetail/dispatcher.hpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_7815f4a69fa470e020068bb120d080ef.html">designM</a></li><li class="navelem"><a class="el" href="../../dir_89b7e66325e32f9c7286ce40b9e58f89.html">eventDetail</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#namespaces">命名空间</a> &#124;
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle"><div class="title">dispatcher.hpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;condition_variable&gt;</code><br />
<code>#include &lt;queue&gt;</code><br />
<code>#include &lt;chrono&gt;</code><br />
<code>#include &lt;mutex&gt;</code><br />
<code>#include &quot;<a class="el" href="../../de/d6d/singleton_8hpp_source.html">designM/singleton.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d2/d62/strategy_8hpp_source.html">designM/strategy.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d9/d7a/variant_8hpp_source.html">container/variant.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d2/d81/design_m_2event_detail_2event_8hpp_source.html">event.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
dispatcher.hpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/d38/dispatcher_8hpp__incl.png" border="0" usemap="#ainclude_2design_m_2event_detail_2dispatcher_8hpp" alt=""/></div>
<map name="ainclude_2design_m_2event_detail_2dispatcher_8hpp" id="ainclude_2design_m_2event_detail_2dispatcher_8hpp">
<area shape="rect" title=" " alt="" coords="338,5,523,48"/>
<area shape="rect" title=" " alt="" coords="5,96,131,123"/>
<area shape="poly" title=" " alt="" coords="338,51,140,95,139,90,337,46"/>
<area shape="rect" title=" " alt="" coords="154,96,211,123"/>
<area shape="poly" title=" " alt="" coords="368,51,226,97,225,92,366,46"/>
<area shape="rect" title=" " alt="" coords="235,96,296,123"/>
<area shape="poly" title=" " alt="" coords="389,51,306,91,304,86,387,46"/>
<area shape="rect" title=" " alt="" coords="457,245,514,272"/>
<area shape="poly" title=" " alt="" coords="400,51,362,80,327,117,315,136,308,157,308,176,317,196,342,221,374,237,409,247,441,253,441,258,408,253,372,242,339,225,312,199,303,178,303,156,310,134,323,113,359,76,397,46"/>
<area shape="rect" href="../../de/d6d/singleton_8hpp.html" title=" " alt="" coords="798,171,949,197"/>
<area shape="poly" title=" " alt="" coords="490,46,824,163,822,168,489,51"/>
<area shape="rect" href="../../d2/d62/strategy_8hpp.html" title=" " alt="" coords="457,96,602,123"/>
<area shape="poly" title=" " alt="" coords="458,47,504,84,501,88,454,51"/>
<area shape="rect" href="../../d9/d7a/variant_8hpp.html" title=" " alt="" coords="973,171,1115,197"/>
<area shape="poly" title=" " alt="" coords="513,46,980,164,979,169,511,51"/>
<area shape="rect" href="../../d2/d81/design_m_2event_detail_2event_8hpp.html" title=" " alt="" coords="926,96,1004,123"/>
<area shape="poly" title=" " alt="" coords="524,39,911,97,911,103,523,45"/>
<area shape="rect" title=" " alt="" coords="840,245,909,272"/>
<area shape="poly" title=" " alt="" coords="876,198,877,230,871,230,871,198"/>
<area shape="rect" title=" " alt="" coords="734,245,816,272"/>
<area shape="poly" title=" " alt="" coords="858,200,805,238,802,234,855,196"/>
<area shape="poly" title=" " alt="" coords="603,114,672,132,706,148,737,169,758,198,771,229,766,231,754,200,733,173,703,152,670,137,602,120"/>
<area shape="rect" title=" " alt="" coords="517,171,627,197"/>
<area shape="poly" title=" " alt="" coords="539,122,559,156,555,159,534,125"/>
<area shape="rect" title=" " alt="" coords="651,171,722,197"/>
<area shape="poly" title=" " alt="" coords="558,121,646,161,644,166,556,126"/>
<area shape="rect" title=" " alt="" coords="327,171,404,197"/>
<area shape="poly" title=" " alt="" coords="502,126,409,166,407,161,500,121"/>
<area shape="rect" title=" " alt="" coords="428,171,492,197"/>
<area shape="poly" title=" " alt="" coords="519,125,484,161,481,157,515,121"/>
<area shape="poly" title=" " alt="" coords="973,198,962,200,530,255,529,249,961,195,972,193"/>
<area shape="poly" title=" " alt="" coords="1016,200,919,241,917,236,1013,195"/>
<area shape="poly" title=" " alt="" coords="998,200,831,245,830,240,996,195"/>
<area shape="rect" title=" " alt="" coords="1204,245,1273,272"/>
<area shape="poly" title=" " alt="" coords="1079,195,1191,237,1189,242,1077,200"/>
<area shape="rect" title=" " alt="" coords="933,245,987,272"/>
<area shape="poly" title=" " alt="" coords="1031,200,988,237,984,233,1028,196"/>
<area shape="rect" title=" " alt="" coords="1010,245,1078,272"/>
<area shape="poly" title=" " alt="" coords="1047,198,1047,230,1041,230,1041,198"/>
<area shape="rect" title=" " alt="" coords="1102,245,1180,272"/>
<area shape="poly" title=" " alt="" coords="1063,196,1114,234,1111,238,1059,200"/>
<area shape="poly" title=" " alt="" coords="981,121,1021,158,1017,162,977,125"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件被哪些文件直接或间接地引用了:</div>
<div class="dyncontent">
<div class="center"><img src="../../d0/dd3/dispatcher_8hpp__dep__incl.png" border="0" usemap="#ainclude_2design_m_2event_detail_2dispatcher_8hppdep" alt=""/></div>
<map name="ainclude_2design_m_2event_detail_2dispatcher_8hppdep" id="ainclude_2design_m_2event_detail_2dispatcher_8hppdep">
<area shape="rect" title=" " alt="" coords="656,5,841,48"/>
<area shape="rect" href="../../df/d9a/design_m_2command_8hpp.html" title=" " alt="" coords="648,187,849,213"/>
<area shape="poly" title=" " alt="" coords="727,62,711,97,707,117,711,138,724,164,739,184,735,188,719,166,706,139,702,117,706,95,722,60"/>
<area shape="rect" href="../../d0/dfd/mainloop_8hpp.html" title=" " alt="" coords="721,96,907,139"/>
<area shape="poly" title=" " alt="" coords="775,59,801,94,797,97,771,62"/>
<area shape="rect" href="../../d1/d81/command_8cpp.html" title=" " alt="" coords="254,269,411,296"/>
<area shape="poly" title=" " alt="" coords="662,219,424,264,389,271,388,266,423,259,661,214"/>
<area shape="rect" href="../../df/d6c/ssl_svr_itfc_8hpp.html" title=" " alt="" coords="435,269,625,296"/>
<area shape="poly" title=" " alt="" coords="701,222,565,271,563,266,699,217"/>
<area shape="rect" href="../../db/d1c/ssl_svr_epoll_8cpp.html" title=" " alt="" coords="536,443,713,469"/>
<area shape="poly" title=" " alt="" coords="755,229,756,264,754,308,745,354,726,396,712,412,696,425,662,444,659,440,693,421,709,408,721,393,740,352,749,307,751,264,749,229"/>
<area shape="rect" href="../../df/d4f/mandarava_2command_8hpp.html" title=" " alt="" coords="786,269,1002,296"/>
<area shape="poly" title=" " alt="" coords="786,219,873,267,870,271,783,223"/>
<area shape="rect" href="../../d8/d9b/mandarava_2linux_2serial_8hpp.html" title=" " alt="" coords="1027,261,1188,304"/>
<area shape="poly" title=" " alt="" coords="821,215,1027,261,1026,266,819,220"/>
<area shape="rect" href="../../d8/d9b/ssl_connection_8hpp.html" title=" " alt="" coords="52,360,269,387"/>
<area shape="poly" title=" " alt="" coords="463,303,214,362,213,357,462,298"/>
<area shape="rect" href="../../d1/d29/ssl_svr_itfc_8cpp.html" title=" " alt="" coords="223,443,389,469"/>
<area shape="poly" title=" " alt="" coords="461,303,385,326,353,340,333,354,320,375,312,399,308,442,303,442,307,398,315,373,329,350,351,335,383,321,460,298"/>
<area shape="rect" href="../../de/ddb/ssl_svr_epoll_8hpp.html" title=" " alt="" coords="344,360,543,387"/>
<area shape="poly" title=" " alt="" coords="509,309,458,361,454,358,505,305"/>
<area shape="rect" href="../../d2/d84/sslserver_8hpp.html" title=" " alt="" coords="567,360,712,387"/>
<area shape="poly" title=" " alt="" coords="559,304,625,357,622,361,556,308"/>
<area shape="rect" href="../../dd/da8/ssl_connection_8cpp.html" title=" " alt="" coords="5,443,199,469"/>
<area shape="poly" title=" " alt="" coords="145,401,113,444,109,441,141,398"/>
<area shape="poly" title=" " alt="" coords="198,392,285,440,282,445,195,397"/>
<area shape="poly" title=" " alt="" coords="486,391,598,440,595,445,484,396"/>
<area shape="rect" href="../../dc/d98/mandarava_2linux_2serial_8cpp.html" title=" " alt="" coords="1038,352,1176,395"/>
<area shape="poly" title=" " alt="" coords="1110,320,1110,352,1105,352,1105,320"/>
<area shape="poly" title=" " alt="" coords="790,153,761,188,757,184,785,149"/>
</map>
</div>
</div>
<p><a href="../../da/d26/dispatcher_8hpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d08/classwheels_1_1dm_1_1dispatcher.html">wheels::dm::dispatcher&lt; cmdType &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></td></tr>
<tr class="memdesc:df/d8d/namespacewheels"><td class="mdescLeft">&#160;</td><td class="mdescRight">堆栈信息读取和保存记录 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d2d/namespacewheels_1_1dm.html">wheels::dm</a></td></tr>
<tr class="memdesc:d8/d2d/namespacewheels_1_1dm"><td class="mdescLeft">&#160;</td><td class="mdescRight">策略方式定义， <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a60946d8f2a67e4b7e402864207ac535e" id="r_a60946d8f2a67e4b7e402864207ac535e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a60946d8f2a67e4b7e402864207ac535e">CMD_USE_SINGLETON</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="memdesc:a60946d8f2a67e4b7e402864207ac535e"><td class="mdescLeft">&#160;</td><td class="mdescRight">命令模式命令派发器  <br /></td></tr>
<tr class="separator:a60946d8f2a67e4b7e402864207ac535e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a60946d8f2a67e4b7e402864207ac535e" name="a60946d8f2a67e4b7e402864207ac535e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60946d8f2a67e4b7e402864207ac535e">&#9670;&#160;</a></span>CMD_USE_SINGLETON</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CMD_USE_SINGLETON&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>命令模式命令派发器 </p>
<dl class="section version"><dt>版本</dt><dd>1.0 </dd></dl>
<dl class="section author"><dt>作者</dt><dd>宋炜 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2023-5-18 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../da/d26/dispatcher_8hpp_source.html">dispatcher.hpp</a> 第 <a class="el" href="../../da/d26/dispatcher_8hpp_source.html#l00014">14</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
